package com.czh.springboot04.mapper;

import com.czh.springboot04.entity.Reply;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ReplyMapper {
    int addReply(Reply reply);
    int deleteReply(int id);
    int updateReply(Reply reply);
    List<Reply> findAll(Reply reply);
    Reply findById(int id);
    List<Reply> findByQid(int questionId);
}
